<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!-- 引入标签库-->
<%@ include file="/pages/inc/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>发文基本要素</title>
</head>
<body>
<div style="width: 93%;margin: auto;padding: 1em 0;">
	<form id="docIssueForm">
		<input id="docId" name="docId" type="hidden"  value="<c:out value='${docIssue.docId}'/>"/>
		<input id="formId" name="formId" type="hidden"  value="<c:out value='${docIssue.formId}'/>"/>
		<input id="processId" name="processId" type="hidden"  value="<c:out value='${docIssue.processId}'/>"/>
		<input id="workEffortId" name="workEffortId" type="hidden"/>
		
		<table class="inputTable docIssueTable">
			<caption style="text-align: center;"><c:out value='${describeName}' />要素</caption>
			<tr>
				<td class="staticTdNW"><font color="red">*</font>标<span class="spaceSpan"></span>题</td>
				<td class="dynamicTdNW" colspan="5">
					<input id="docName" name="docName" style="width: 85%;" value="<c:out value='${docIssue.docName}' />" />
				</td>
			</tr>
			<tr>
				<td class="staticTdNW"><font color="red">*</font>主<span class="spaceSpan"></span>送</td>
				<td class="dynamicTdNW" colspan="5">
					<input id="zhusong" name="zhusong" style="width: 90%;" type="text" tip="请填写主送单位" readonly="readonly" onclick="openZhusongTable();"/>
					<input id="zhusongValue" name="zhusongValue" type="hidden" />
					<input id="zhusonglist" name="zhusonglist" type="hidden" />
					<input id="zhusongST" name="zhusongST" type="hidden" />
					<img title="点击选择" class="pointer" src="<c:url value='/images/layout.gif'/>" onclick="openZhusongTable();">
				</td>
			</tr>
			<tr>
				<td class="staticTdNW">抄<span class="spaceSpan"></span>报</td>
				<td class="dynamicTdNW" colspan="5">
					<input id="chaobao" name="chaobao" class="easyui-textbox" style="width: 90%;" type="text" readonly="readonly" onclick="openChaobaoTable();" />
					<input id="chaobaoValue" name="chaobaoValue" type="hidden" />
					<input id="chaobaolist" name="chaobaolist" type="hidden" />
					<input id="chaobaoST" name="chaobaoST" type="hidden" />
					<img title="点击选择" class="pointer" src="<c:url value='/images/layout.gif'/>" onclick="openChaobaoTable();">
					
				</td>
			</tr>
			<tr>
				<td class="staticTdNW">抄<span class="spaceSpan"></span>送</td>
				<td class="dynamicTdNW" colspan="5">
					<input id="chaosong" name="chaosong" class="easyui-textbox" style="width: 90%;" type="text" readonly="readonly" onclick="openChaosongTable();" />
					<input id="chaosongValue" name="chaosongValue" type="hidden" />
					<input id="chaosonglist" name="chaosonglist" type="hidden" />
					<input id="chaosongST" name="chaosongST" type="hidden" />
					<img title="点击选择" class="pointer" src="<c:url value='/images/layout.gif'/>" onclick="openChaosongTable();">
				</td>
			</tr>
			<tr>
				<td class="staticTdNW">分<span class="spaceSpan"></span>送</td>
				<td class="dynamicTdNW" colspan="5">
					<input id="fensong" name="fensong" class="easyui-textbox" style="width: 90%;" type="text" readonly="readonly" onclick="openFensongTable();" />
					<input id="fensongValue" name="fensongValue" type="hidden" />
					<input id="fensonglist" name="fensonglist" type="hidden" />
					<input id="fensongST" name="fensongST" type="hidden" />
					<img title="点击选择" class="pointer" src="<c:url value='/images/layout.gif'/>" onclick="openfensongTable();">
				</td>
			</tr>
			<tr>
				<td class="staticTdNW">发<span class="spaceSpanHalf"></span>文<span class="spaceSpanHalf"></span>号</td>
				<td class="dynamicTdNW">
					<input id="displayNumber" name="displayNumber" class="easyui-textbox" style="width: 70%;" readonly="readonly" value="<c:out value='${docIssue.displayNumber}' />">
					<input id="numberTime" name="numberTime" type="hidden" value="<c:out value='${docIssue.numberTime}' />">
					<div class="inlineBlock">  
		            	<a  href="#" class="easyui-linkbutton" plain="true" >删除</a>
		        	</div>  
				</td>
				<td class="staticTdNW">签<span class="spaceSpanHalf"></span>发<span class="spaceSpanHalf"></span>人</td>
				<td class="dynamicTdNW">
					<input id="signatory" name="signatory" class="easyui-textbox" readonly="readonly" value="<c:out value='${docIssue.signatory}' />">
					<input id="signatoryCode" name="signatoryCode" type="hidden" value="<c:out value='${docIssue.signatoryCode}' />">
					<input id="signatoryTime" name="signatoryTime" type="hidden" value="<c:out value='${docIssue.signatoryTime}' />">
				</td>
				<td class="staticTdNW">发文日期</td>
				<td class="dynamicTdNW">
					<input id="sendTime" name="sendTime" class="easyui-datebox" editable="false" value="<fmt:formatDate value="${docIssue.sendTime}" pattern="yyyy-MM-dd" />">
				</td>
			</tr>
			<tr>
				<td class="staticTdNW">紧急程度</td>
				<td class="dynamicTdNW">
					<select id="emergencyCode" name="emergencyCode" class="easyui-combobox" data-options="editable:false" style="width: 70%;">
						<option value="普通">普通</option>
						<option value="加急">加急</option>
						<option value="特急">特急</option>
					</select>
				</td>
				<td class="staticTdNW">密<span class="spaceSpan"></span>级</td>
				<td class="dynamicTdNW">
					<select id="secretCode" name="secretCode" class="easyui-combobox" data-options="editable:false" style="width: 70%;">
						<option value="内部">内部</option>
						<!-- 
						<option value="秘密">秘密</option>
						<option value="机密">机密</option>
						<option value="绝密">绝密</option> -->
					</select>
				</td>
				<td class="staticTdNW"><font color="red">*</font>份<span class="spaceSpan"></span>数</td>
				<td class="dynamicTdNW">
					<input id="printNum" name="printNum"  style="width:80%" value="<c:out value='${docIssue.printNum}'/>" /> 
				</td>
			</tr>
			<tr>
				<td class="staticTdNW"><font color="red">*</font>是否公开</td>
				<td class="dynamicTdNW">
					<select id="remark" name="remark" style="width: 70%;">
						<option value="主动公开">主动公开</option>
						<option value="依申请公开">依申请公开</option>
						<option value="不予公开">不予公开</option>
					</select>
				</td>
				<td class="staticTdNW">办结时限</td>
				<td class="dynamicTdNW" colspan="3">
					<input id='expeireTime' name="expeireTime" class="easyui-datebox" editable="false"  style="width: 28%;">
				</td>
			</tr>
			<tr>
				<td class="staticTdNW">是否督办</td>
				<td class="dynamicTdNW" colspan="5">
					<span><input type="radio" style="border: none;" disabled="disabled" class="superviseHandleValue" id="yesSupervise" name="isSupervision" value="1"><span><label for="yesSupervise">需要督办</label></span></span>
					<span style="margin-left:10px;"><input type="radio" style="border: none;" disabled="disabled" checked="checked" class="superviseHandleValue" id="noSupervise" name="isSupervision" value="0"><span><label for="noSupervise">不需督办</label></span></span>
				</td>
			</tr>
			<tr>
				<td class="staticTdNW">附<span class="spaceSpan"></span>件</td>
				<td class="dynamicTdNW" colspan="5">
					<div id="fileDiv"></div>
				</td>
			</tr>
			<tr>
				<td class="staticTdNW" style="width: 10%">拟稿单位</td>
				<td class="dynamicTdNW" style="width: 23%">
					<input id="organizerName" name="organizerName" class="easyui-textbox" style="width:70%" type="text" readonly="readonly" value="<c:out value='${docIssue.organizerName}'/>"/>
        			<input id="draftOrg" name="draftOrg" style="width:70%" type="hidden" value="<c:out value='${docIssue.draftOrg}'/>"/>
        			<input id="draftOrgCode" name="draftOrgCode" type="hidden" value="<c:out value='${docIssue.draftOrgCode}'/>"/>
        			<input id="draftDivisionCode" name="draftDivisionCode" type="hidden" value="<c:out value='${docIssue.draftDivisionCode}'/>"/>
        			<input id="draftDivision" name="draftDivision" type="hidden" value="<c:out value='${docIssue.draftDivision}'/>"/>
        			<input id="dispatchOrgCode" name="dispatchOrgCode" type="hidden" value="<c:out value='${docIssue.dispatchOrgCode}'/>"/>
        			<input id="dispatchOrg" name="dispatchOrg" type="hidden" value="<c:out value='${docIssue.dispatchOrg}'/>"/>
				</td>
				<td class="staticTdNW" style="width: 10%">拟<span class="spaceSpanHalf"></span>稿<span class="spaceSpanHalf"></span>人</td>
				<td class="dynamicTdNW" style="width: 23%">
					<input id="drafter" name="drafter" class="easyui-textbox" style="width:70%" type="text" readonly="readonly" value="<c:out value='${docIssue.drafter}'/>"/>
			        <input id="drafterCode" name="drafterCode" type="hidden"  value="<c:out value='${docIssue.drafterCode}'/>"/>
			        <input id="topOrgCode" name="topOrgCode" type="hidden"  value="<c:out value='${docIssue.topOrgCode}'/>"/>
			        <input id="drafterFax" name="drafterFax" type="hidden"  value="<c:out value='${docIssue.drafterFax}'/>"/>
			        <input id="drafterEmail" name="drafterEmail" type="hidden"  value="<c:out value='${docIssue.drafterEmail}'/>"/>
				</td>
				<td class="staticTdNW" style="width: 10%"><span style="color:red;">*</span>联系电话</td>
				<td class="dynamicTdNW" style="width: 23%">
					<input id="drafterTel" name="drafterTel" style="width:70%" type="text" value="<c:out value='${docIssue.drafterTel}'/>"/>
				</td>
			</tr>
			<tr>
				<td class="staticTdNW">会签部门</td>
				<td class="dynamicTdNW" colspan="5">
					<input id="huishang" name="huishang" class="easyui-textbox" type="text" onclick="openHuishangTable();" readonly="readonly" style="width:90%;" />
     				<input id="huishangValue" name="huishangValue" type="hidden" />
     				<img id="huishangImg" title="点击选择" class="pointer tipDivBtn" src="<c:url value='/images/layout.gif'/>" onclick="openHuishangTable();">
				</td>
			</tr>
			<tr>
				<td class="staticTdNW">拟稿时间</td>
				<td class="dynamicTdNW">
					<input id="drafterTime" name="drafterTime" class="easyui-textbox" style="width:70%" readonly="readonly" type="text" 
    value="<fmt:formatDate value="${docIssue.drafterTime}" pattern="yyyy-MM-dd" />" />
				</td>
				<td class="staticTdNW">校<span class="spaceSpan"></span>对</td>
				<td class="dynamicTdNW" colspan="3">
					<input id="pressCorrector" name="pressCorrector" class="easyui-textbox" readonly="readonly" style="width:28%" type="text" value="<c:out value='${docIssue.pressCorrector}'/>" />
					<input id="pressCorrectorCode" name="pressCorrectorCode" type="hidden"  value="<c:out value='${docIssue.pressCorrectorCode}'/>"/>
   				</td>
			</tr>
		</table>
	</form>
	<script type="text/javascript">
		<%@ include file="/pages/jsp/commom/validator.js" %>
		<%@ include file="/pages/jsp/docIssue/docIssueBaseNew.js" %>
	</script>
</div>
</body>
</html>